package constant;

public class Constants {
    public static final String HOST = "139.199.198.28";
    public static final int PORT = 5672;
    public static final String USERNAME = "admin";
    public static final String PASSWORD = "admin";
    public static final String VIRTUAL_HOST = "/";
    public static final String QUEUE = "hello";

    /**
     * 发布、订阅模式交换机
     */
    public static final String FANOUT_EXCHANGE = "fanout.exchange";
    /**
     * 绑定的队列
     */
    public static final String FANOUT_QUEUE1 = "FanoutQueue1";
    public static final String FANOUT_QUEUE2 = "FanoutQueue2";

    /**
     * 路由模式交换机
     */
    public static final String DIRECT_EXCHANGE = "direct.exchange";

    /**
     * 绑定的队列
     */
    public static final String DIRECT_QUEUE1 = "DirectQueue1";
    public static final String DIRECT_QUEUE2 = "DirectQueue2";

    /**
     * 通配符模式交换机
     */
    public static final String TOPICS_EXCHANGE = "topics.exchange";
    /**
     * 绑定的队列
     */
    public static final String TOPICS_QUEUE1 = "TopicsQueue1";
    public static final String TOPICS_QUEUE2 = "TopicsQueue2";

    /**
     * RPC 模式队列
     */
    public static final String RPC_REQUEST_QUEUE = "RPCRequestQueue";
    public static final String RPC_RESPONSE_QUEUE = "RPCResponseQueue";

    /**
     * 发布确认模式队列
     */
    public static final String PUBLISH_CONFIRM_QUEUE1 = "PublishConfirmQueue1";
    public static final String PUBLISH_CONFIRM_QUEUE2 = "PublishConfirmQueue2";
    public static final String PUBLISH_CONFIRM_QUEUE3 = "PublishConfirmQueue3";
}
